package controllers;
 
import play.*;
import play.mvc.*;
 
import java.util.*;
 
import models.*;
 
@With(Secure.class)
public class Admin extends Controller {
	private String email;
	private String password;
	
    
    @Before
    static void setConnectedUser() {
        if(Security.isConnected()) {
            models.User user = models.User.find("byEmail", Security.connected()).first();
            renderArgs.put("user", user.name);
        }
    }
 
    public static void index() {
        render();
    }

	public String getPassword() {
		return password;
	}

	public String getEmail() {
		return email;
	}
	

    
}